LassoScript Utility
Basics Browse Detail

[Email_POP->Headers]

Tag Link [Email_POP->Headers] Category Email
Type Member Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0

Description

[Email_POP->Headers] retrieves just the headers for a message from the server. If a position is specified then the headers of that email is retrieved. If no position is specified then the headers of the current message is specified.

The current message is set when the [Email_POP] type is used in [Iterate] ... [/Iterate] tags or any time [Email_POP->Get], [Email_POP->Retrieve], [Email_POP->Delete], [Email_POP->Headers], or [Email_POP->UniqueID] is called with a position.

Syntax

[Var: 'myPOP' = (Email_POP: -Host='mail.example.com', -Username='Example', -Password='Example')]
[Iterate: $myPOP, (Var: 'UniqueID')]

[Var: 'myHeaders' = $myPOP->(Headers)]
...
[/Iterate]
[$myPOP->Close]

Parameters

Optional Parameters
Position The position of the message to be fetched. If not specified the current message is fetched.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.